<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Thymeleaf3 + Servlet3 示例</title>
</head>
<body>
<form action="AddEmployeeServlet" method="post">
    员工姓名:<input type="text" name="employeeName"><br/>
    登录名:<input type="text" name="username"><br/>
    密码:<input type="password" name="password">
    email:<input type="email" name="email"><br/>
    phone:<input type="tel" name="phone"><br/>
    department:<select name="departmentId" >
    <option th:text="请选择部门"></option>
    <option th:each="department: ${departmentList}" th:value="${department.departmentId}" th:text="${department.departmentName}"></option>
</select><br/>
    <input type="submit" value="新增员工">


</form>
</body>
</html>
